Document `events_to_show` and `ttl`.

Akinori MUSHA 10 years ago
parent
commit
2878d50455
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/models/agents/data_output_agent.rb

+ 2 - 0
app/models/agents/data_output_agent.rb

@@ -20,6 +20,8 @@ module Agents
20 20
           * `secrets` - An array of tokens that the requestor must provide for light-weight authentication.
21 21
           * `expected_receive_period_in_days` - How often you expect data to be received by this Agent from other Agents.
22 22
           * `template` - A JSON object representing a mapping between item output keys and incoming event values. Use [Liquid](https://github.com/cantino/huginn/wiki/Formatting-Events-using-Liquid) to format the values. The `item` key will be repeated for every Event.
23
+          * `events_to_show` - The number of events to output in RSS or JSON. (default: `40`)
24
+          * `ttl` - A value for the <ttl> element in RSS output. (default: `60`)
23 25
       MD
24 26
     end
25 27